package cn.rkylin.oms.goods.service;

import cn.rkylin.core.service.ApolloService;
import cn.rkylin.oms.goods.dao.IGoodsDAO;
import cn.rkylin.oms.goods.domain.GoodsSku;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 系统商品管理服务实现
 *
 * @author wangxing
 * @version 1.0.0
 * @created 2017-7-5
 */

@Service("goodsService")
public class GoodsServiceImpl extends ApolloService implements IGoodsService {
    /**
     * 构造函数
     */
    public GoodsServiceImpl() {

    }

    @Autowired
    public IGoodsDAO goodsDAO;

    @Override
    public GoodsSku getGoodsSkuBySkuId(String skuId) throws Exception {
        return goodsDAO.getGoodsSkuBySkuId(skuId);
    }


}
